package com.example.demo.utils;

public enum Style {

    YYMMDD("yyyy:MM:dd","日期"),
    HHMMSS("HH:mm:ss","时间"),
    YYMMDD_HHMMSS("yyyyMMdd HH:mm:ss SSS","日期时间"),
    YYMMDD_HHMMSS1("yyyy-MM-dd HH:mm:ss","日期时间"),
    YYMMDD_T_HHMMSS_SSS("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'","日期时间");

    private final String value;
    private final String name;

    Style(String value, String name) {
        this.value = value;
        this.name = name;
    }

    public String getValue(){
        return value;
    }
    public String getName(){
        return name;
    }
}
